package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/09/03
 * @description
 */
@ApiModel(value="BloodPressureInfo对象", description="")
public class BloodPressureInfo {


    /**
     * 血压的测量时间，单位秒
     */
    @ApiModelProperty(value = "血压的测量时间，单位秒",required = false)
    private int time;
    /**
     * 收缩压
     */
    @ApiModelProperty(value = "收缩压",required = false)
    private int systolic;
    /**
     * 舒张压
     */
    @ApiModelProperty(value = "舒张压",required = false)
    private int diastolic;

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getSystolic() {
        return systolic;
    }

    public void setSystolic(int systolic) {
        this.systolic = systolic;
    }

    public int getDiastolic() {
        return diastolic;
    }

    public void setDiastolic(int diastolic) {
        this.diastolic = diastolic;
    }

    @Override
    public String toString() {
        return "BloodPressureInfo{" +
                "time=" + time +
                ", systolic=" + systolic +
                ", diastolic=" + diastolic +
                '}';
    }
}
